package com.luo.common.exception;

import com.luo.common.restful.ResponseCode;
import lombok.Data;

@Data
public class BBSServiceException extends RuntimeException {
    private ResponseCode responseCode;

    public BBSServiceException(ResponseCode responseCode, String message) {
        super(message);
        setResponseCode(responseCode);
    }
}
